home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d18
/
turbotut.arc
/
READREAL.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1989-06-30
|
358b
|
16 lines
PROGRAM read_some_real_variables;
VAR index : BYTE;
number : INTEGER;
real1,real2,real3 : REAL;
BEGIN
WRITELN('Read some REAL variables');
For index := 1 TO 5 DO
BEGIN
WRITE('Enter an integer and 3 reals ');
READLN(number,real1,real2,real3);
WRITELN(number:20,real1:12:3,real2:12:3,real3:12:3);
END;
END.